$(document).ready(function(){
	$.ajax({
		url:'cdr_getDataList.action',
		dataType:'json',
		Type:'POST',
		success:function(data){
			for(var i=0,j=data.data.length;i<data.data.length;i++,j--){
				var value=data.data[i];
				$('.food-back-record').after("<li class='list-group-item'>"+
                "<table style='width: 100%;' >"+
                    "<tr style='width: 100%;font-size:20px;'>"+
                        "<td>"+j+"</td>"+
                        "<td>"+value.dishName+"</td>"+
                        "<td>￥"+value.price+"</td>"+
                        "<td>X1</td>"+
                        "<td>退菜原因："+value.reason+"</td></tr></table></li>");
			}
		}
	});
});